-
Notifications
You must be signed in to change notification settings - Fork 5.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
executer: add Cop_time
in slow log (#16873)
#16904
executer: add Cop_time
in slow log (#16873)
#16904
Conversation
/run-all-tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
/merge |
/run-all-tests |
@sre-bot merge failed. |
/run-integration-copr-test |
/merge |
Your auto merge job has been accepted, waiting for:
|
/run-all-tests |
@sre-bot merge failed. |
cherry-pick #16873 to release-4.0
What problem does this PR solve?
Before this PR, TiDB Slow log only record
Process_time
, but it is the total process time of cop task spend on TiKV, we still don't know the relatedCop_time
spend in tidb, as below:What is changed and how it works?
Add
Cop_time
in slow_query and slow log. TheCop_time
contain the time duration as below:Related changes
Check List
Tests
Side effects
Release note